package com.lz.repository.lg;

import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;

import com.lz.entity.Car;
import com.lz.entity.Customer;
import com.lz.entity.OrderSheet;
import com.lz.repository.lg.VO.OrderSheetVO;

public interface OrderSheetDao {
	//添加车辆
	Integer addCar(Session session,Car car);
	//添加顾客
	Integer addCustomer(Session session,Customer customer);
	//添加订单
	Integer addorderSheet(Session session,OrderSheet orderSheet);
	//根据订单主键查询订单
	OrderSheet findOrderSheet(Session session,String hql);
	//订单条件查询
	List<OrderSheet> selectOrders(Query query); 
	//查询订单总条数
	Integer rowsOfOrderSheet(Query query);
	
}
